home *** CD-ROM | disk | FTP | other *** search
/ CU Amiga Super CD-ROM 16 / CU Amiga Magazine's Super CD-ROM 16 (1997-10-16)(EMAP Images)(GB)[!][issue 1997-11].iso / CUCD / Graphics / Ghostscript / source / amiga / devs.mak.in < prev    next >
Text File  |  1997-08-10  |  56KB  |  1,639 lines

  1. #    Copyright (C) 1989, 1996, 1997 Aladdin Enterprises.  All rights reserved.
  2. # This file is part of Aladdin Ghostscript.
  3. # Aladdin Ghostscript is distributed with NO WARRANTY OF ANY KIND.  No author
  4. # or distributor accepts any responsibility for the consequences of using it,
  5. # or for whether it serves any particular purpose or works at all, unless he
  6. # or she says so in writing.  Refer to the Aladdin Ghostscript Free Public
  7. # License (the "License") for full details.
  8. # Every copy of Aladdin Ghostscript must include a copy of the License,
  9. # normally in a plain ASCII text file named PUBLIC.  The License grants you
  10. # the right to copy, modify and redistribute Aladdin Ghostscript, but only
  11. # under certain conditions described in the License.  Among other things, the
  12. # License requires that the copyright notice and this notice be preserved on
  13. # all copies.
  14.  
  15. # makefile for device drivers.
  16.  
  17. # Define the name of this makefile.
  18. DEVS_MAK=devs.mak
  19.  
  20. ###### --------------------------- Catalog -------------------------- ######
  21.  
  22. # It is possible to build configurations with an arbitrary collection of
  23. # device drivers, although some drivers are supported only on a subset
  24. # of the target platforms.  The currently available drivers are:
  25.  
  26. # MS-DOS displays (note: not usable with Desqview/X):
  27. #   MS-DOS EGA and VGA:
  28. #    ega    EGA (640x350, 16-color)
  29. #    vga    VGA (640x480, 16-color)
  30. #   MS-DOS SuperVGA:
  31. # *    ali    SuperVGA using Avance Logic Inc. chipset, 256-color modes
  32. # *    atiw    ATI Wonder SuperVGA, 256-color modes
  33. # *    s3vga    SuperVGA using S3 86C911 chip (e.g., Diamond Stealth board)
  34. #    svga16    Generic SuperVGA in 800x600, 16-color mode
  35. # *    tseng    SuperVGA using Tseng Labs ET3000/4000 chips, 256-color modes
  36. # *    tvga    SuperVGA using Trident chipset, 256-color modes
  37. #   ****** NOTE: The vesa device does not work with the Watcom (32-bit MS-DOS)
  38. #   ****** compiler or executable.
  39. #    vesa    SuperVGA with VESA standard API driver
  40. #   MS-DOS other:
  41. #    bgi    Borland Graphics Interface (CGA)  [MS-DOS only]
  42. # *    herc    Hercules Graphics display   [MS-DOS only]
  43. # *    pe    Private Eye display
  44. # Other displays:
  45. #   MS Windows:
  46. #    mswindll  Microsoft Windows 3.1 DLL  [MS Windows only]
  47. #    mswinprn  Microsoft Windows 3.0, 3.1 DDB printer  [MS Windows only]
  48. #    mswinpr2  Microsoft Windows 3.0, 3.1 DIB printer  [MS Windows only]
  49. #   OS/2:
  50. # *    os2pm    OS/2 Presentation Manager   [OS/2 only]
  51. # *    os2dll    OS/2 DLL bitmap             [OS/2 only]
  52. # *    os2prn    OS/2 printer                [OS/2 only]
  53. #   Unix and VMS:
  54. #   ****** NOTE: For direct frame buffer addressing under SCO Unix or Xenix,
  55. #   ****** edit the definition of EGAVGA below.
  56. # *    att3b1    AT&T 3b1/Unixpc monochrome display   [3b1 only]
  57. # *    lvga256  Linux vgalib, 256-color VGA modes  [Linux only]
  58. # *    sonyfb    Sony Microsystems monochrome display   [Sony only]
  59. # *    sunview  SunView window system   [SunOS only]
  60. # +    vgalib    Linux PC with VGALIB   [Linux only]
  61. #    x11    X Windows version 11, release >=4   [Unix and VMS only]
  62. #    x11alpha  X Windows masquerading as a device with alpha capability
  63. #    x11cmyk  X Windows masquerading as a 1-bit-per-plane CMYK device
  64. #    x11gray2  X Windows as a 2-bit gray-scale device
  65. #    x11mono  X Windows masquerading as a black-and-white device
  66. #   Platform-independent:
  67. # *    sxlcrt    CRT sixels, e.g. for VT240-like terminals
  68. # Printers:
  69. # *    ap3250    Epson AP3250 printer
  70. # *    appledmp  Apple Dot Matrix Printer (should also work with Imagewriter)
  71. #    bj10e    Canon BubbleJet BJ10e
  72. # *    bj200    Canon BubbleJet BJ200
  73. # *    bjc600   Canon Color BubbleJet BJC-600, BJC-4000 and BJC-70
  74. #               also good for Apple printers like the StyleWriter 2x00
  75. # *    bjc800   Canon Color BubbleJet BJC-800
  76. # *     ccr     CalComp Raster format
  77. # *    cdeskjet  H-P DeskJet 500C with 1 bit/pixel color
  78. # *    cdjcolor  H-P DeskJet 500C with 24 bit/pixel color and
  79. #        high-quality color (Floyd-Steinberg) dithering;
  80. #        also good for DeskJet 540C and Citizen Projet IIc (-r200x300)
  81. # *    cdjmono  H-P DeskJet 500C printing black only;
  82. #        also good for DeskJet 510, 520, and 540C (black only)
  83. # *    cdj500    H-P DeskJet 500C (same as cdjcolor)
  84. # *    cdj550    H-P DeskJet 550C/560C
  85. # *    cp50    Mitsubishi CP50 color printer
  86. # *    declj250  alternate DEC LJ250 driver
  87. # +    deskjet  H-P DeskJet and DeskJet Plus
  88. #    djet500  H-P DeskJet 500
  89. # *    djet500c  H-P DeskJet 500C alternate driver
  90. #        (does not work on 550C or 560C)
  91. # *    dnj650c  H-P DesignJet 650C
  92. #    epson    Epson-compatible dot matrix printers (9- or 24-pin)
  93. # *    eps9mid  Epson-compatible 9-pin, interleaved lines
  94. #        (intermediate resolution)
  95. # *    eps9high  Epson-compatible 9-pin, interleaved lines
  96. #        (triple resolution)
  97. # *    epsonc    Epson LQ-2550 and Fujitsu 3400/2400/1200 color printers
  98. # *    ibmpro  IBM 9-pin Proprinter
  99. # *    imagen    Imagen ImPress printers
  100. # *    iwhi    Apple Imagewriter in high-resolution mode
  101. # *    iwlo    Apple Imagewriter in low-resolution mode
  102. # *    iwlq    Apple Imagewriter LQ in 320 x 216 dpi mode
  103. # *    jetp3852  IBM Jetprinter ink-jet color printer (Model #3852)
  104. # +    laserjet  H-P LaserJet
  105. # *    la50    DEC LA50 printer
  106. # *    la70    DEC LA70 printer
  107. # *    la70t    DEC LA70 printer with low-resolution text enhancement
  108. # *    la75    DEC LA75 printer
  109. # *    la75plus DEC LA75plus printer
  110. # *    lbp8    Canon LBP-8II laser printer
  111. # *    lips3    Canon LIPS III laser printer in English (CaPSL) mode
  112. # *    ln03    DEC LN03 printer
  113. # *    lj250    DEC LJ250 Companion color printer
  114. # +    ljet2p    H-P LaserJet IId/IIp/III* with TIFF compression
  115. # +    ljet3    H-P LaserJet III* with Delta Row compression
  116. # +    ljet3d    H-P LaserJet IIID with duplex capability
  117. # +    ljet4    H-P LaserJet 4 (defaults to 600 dpi)
  118. # +    lj4dith  H-P LaserJet 4 with Floyd-Steinberg dithering
  119. # +    ljetplus  H-P LaserJet Plus
  120. #    lj5mono  H-P LaserJet 5 & 6 family (PCL XL), bitmap:
  121. #        see below for restrictions & advice
  122. #    lj5gray  H-P LaserJet 5 & 6 family, gray-scale bitmap;
  123. #        see below for restrictions & advice
  124. # *    lp2563    H-P 2563B line printer
  125. # *    lp8000    Epson LP-8000 laser printer
  126. # *     lq850   Epson LQ850 printer at 360 x 360 DPI resolution;
  127. #               also good for Canon BJ300 with LQ850 emulation
  128. # *    m8510    C.Itoh M8510 printer
  129. # *    necp6    NEC P6/P6+/P60 printers at 360 x 360 DPI resolution
  130. # *    nwp533  Sony Microsystems NWP533 laser printer   [Sony only]
  131. # *    oce9050  OCE 9050 printer
  132. # *    oki182    Okidata MicroLine 182
  133. # *    okiibm    Okidata MicroLine IBM-compatible printers
  134. # *    paintjet  alternate H-P PaintJet color printer
  135. # *    pj    H-P PaintJet XL driver 
  136. # *    pjetxl    alternate H-P PaintJet XL driver
  137. # *    pjxl    H-P PaintJet XL color printer
  138. # *    pjxl300  H-P PaintJet XL300 color printer;
  139. #        also good for PaintJet 1200C
  140. #    (pxlmono) H-P black-and-white PCL XL printers (LaserJet 5 and 6 family)
  141. #    (pxlcolor) H-P color PCL XL printers (none available yet)
  142. # *    r4081    Ricoh 4081 laser printer
  143. # *    sj48    StarJet 48 inkjet printer
  144. # *    sparc    SPARCprinter
  145. # *    st800    Epson Stylus 800 printer
  146. # *    stcolor    Epson Stylus Color
  147. # *    t4693d2  Tektronix 4693d color printer, 2 bits per R/G/B component
  148. # *    t4693d4  Tektronix 4693d color printer, 4 bits per R/G/B component
  149. # *    t4693d8  Tektronix 4693d color printer, 8 bits per R/G/B component
  150. # *    tek4696  Tektronix 4695/4696 inkjet plotter
  151. # *    uniprint  Unified printer driver -- Configurable Color ESC/P-,
  152. #        ESC/P2-, HP-RTL/PCL mono/color driver
  153. # *    xes    Xerox XES printers (2700, 3700, 4045, etc.)
  154. # Fax systems:
  155. # *    dfaxhigh  DigiBoard, Inc.'s DigiFAX software format (high resolution)
  156. # *    dfaxlow  DigiFAX low (normal) resolution
  157. # Fax file format:
  158. #   ****** NOTE: all of these drivers adjust the page size to match
  159. #   ****** one of the three CCITT standard sizes (U.S. letter with A4 width,
  160. #   ****** A4, or B4).
  161. #    faxg3    Group 3 fax, with EOLs but no header or EOD
  162. #    faxg32d  Group 3 2-D fax, with EOLs but no header or EOD
  163. #    faxg4    Group 4 fax, with EOLs but no header or EOD
  164. #    tiffcrle  TIFF "CCITT RLE 1-dim" (= Group 3 fax with no EOLs)
  165. #    tiffg3    TIFF Group 3 fax (with EOLs)
  166. #    tiffg32d  TIFF Group 3 2-D fax
  167. #    tiffg4    TIFF Group 4 fax
  168. # High-level file formats:
  169. #    epswrite  EPS output (like PostScript Distillery)
  170. #    pdfwrite  PDF output (like Adobe Acrobat Distiller)
  171. #    pswrite  PostScript output (like PostScript Distillery)
  172. #    pxlmono  Black-and-white PCL XL
  173. #    pxlcolor  Color PCL XL
  174. # Other raster file formats and devices:
  175. #    bit    Plain bits, monochrome
  176. #    bitrgb    Plain bits, RGB
  177. #    bitcmyk  Plain bits, CMYK
  178. #    bmpmono    Monochrome MS Windows .BMP file format
  179. #    bmp16    4-bit (EGA/VGA) .BMP file format
  180. #    bmp256    8-bit (256-color) .BMP file format
  181. #    bmp16m    24-bit .BMP file format
  182. #    cgmmono  Monochrome (black-and-white) CGM -- LOW LEVEL OUTPUT ONLY
  183. #    cgm8    8-bit (256-color) CGM -- DITTO
  184. #    cgm24    24-bit color CGM -- DITTO
  185. # *    cif    CIF file format for VLSI
  186. #    jpeg    JPEG format, RGB output
  187. #    jpeggray  JPEG format, gray output
  188. #    miff24    ImageMagick MIFF format, 24-bit direct color, RLE compressed
  189. # *    mgrmono  1-bit monochrome MGR devices
  190. # *    mgrgray2  2-bit gray scale MGR devices
  191. # *    mgrgray4  4-bit gray scale MGR devices
  192. # *    mgrgray8  8-bit gray scale MGR devices
  193. # *    mgr4    4-bit (VGA) color MGR devices
  194. # *    mgr8    8-bit color MGR devices
  195. #    pcxmono    PCX file format, monochrome (1-bit black and white)
  196. #    pcxgray    PCX file format, 8-bit gray scale
  197. #    pcx16    PCX file format, 4-bit planar (EGA/VGA) color
  198. #    pcx256    PCX file format, 8-bit chunky color
  199. #    pcx24b    PCX file format, 24-bit color (3 8-bit planes)
  200. #    pcxcmyk PCX file format, 4-bit chunky CMYK color
  201. #    pbm    Portable Bitmap (plain format)
  202. #    pbmraw    Portable Bitmap (raw format)
  203. #    pgm    Portable Graymap (plain format)
  204. #    pgmraw    Portable Graymap (raw format)
  205. #    pgnm    Portable Graymap (plain format), optimizing to PBM if possible
  206. #    pgnmraw    Portable Graymap (raw format), optimizing to PBM if possible
  207. #    pnm    Portable Pixmap (plain format) (RGB), optimizing to PGM or PBM
  208. #         if possible
  209. #    pnmraw    Portable Pixmap (raw format) (RGB), optimizing to PGM or PBM
  210. #         if possible
  211. #    ppm    Portable Pixmap (plain format) (RGB)
  212. #    ppmraw    Portable Pixmap (raw format) (RGB)
  213. #    pkm    Portable inKmap (plain format) (4-bit CMYK => RGB)
  214. #    pkmraw    Portable inKmap (raw format) (4-bit CMYK => RGB)
  215. #    pngmono    Monochrome Portable Network Graphics (PNG)
  216. #    pnggray    8-bit gray Portable Network Graphics (PNG)
  217. #    png16    4-bit color Portable Network Graphics (PNG)
  218. #    png256    8-bit color Portable Network Graphics (PNG)
  219. #    png16m    24-bit color Portable Network Graphics (PNG)
  220. #    psmono    PostScript (Level 1) monochrome image
  221. #    psgray    PostScript (Level 1) 8-bit gray image
  222. #    sgirgb    SGI RGB pixmap format
  223. #    tiff12nc  TIFF 12-bit RGB, no compression
  224. #    tiff24nc  TIFF 24-bit RGB, no compression (NeXT standard format)
  225. #    tifflzw  TIFF LZW (tag = 5) (monochrome)
  226. #    tiffpack  TIFF PackBits (tag = 32773) (monochrome)
  227.  
  228. # User-contributed drivers marked with * require hardware or software
  229. # that is not available to Aladdin Enterprises.  Please contact the
  230. # original contributors, not Aladdin Enterprises, if you have questions.
  231. # Contact information appears in the driver entry below.
  232. #
  233. # Drivers marked with a + are maintained by Aladdin Enterprises with
  234. # the assistance of users, since Aladdin Enterprises doesn't have access to
  235. # the hardware for these either.
  236.  
  237. # If you add drivers, it would be nice if you kept each list
  238. # in alphabetical order.
  239.  
  240. ###### ----------------------- End of catalog ----------------------- ######
  241.  
  242. # As noted in gs.mak, DEVICE_DEVS and DEVICE_DEVS1..15 select the devices
  243. # that should be included in a given configuration.  By convention, these
  244. # are used as follows.  Each of these must be limited to about 10 devices
  245. # so as not to overflow the 120 character limit on MS-DOS command lines.
  246. #    DEVICE_DEVS - the default device, and any display devices.
  247. #    DEVICE_DEVS1 - additional display devices if needed.
  248. #    DEVICE_DEVS2 - dot matrix printers.
  249. #    DEVICE_DEVS3 - H-P monochrome printers.
  250. #    DEVICE_DEVS4 - H-P color printers.
  251. #    DEVICE_DEVS5 - additional H-P printers if needed.
  252. #    DEVICE_DEVS6 - other ink-jet and laser printers.
  253. #    DEVICE_DEVS7 - fax file formats.
  254. #    DEVICE_DEVS8 - PCX file formats.
  255. #    DEVICE_DEVS9 - PBM/PGM/PPM file formats.
  256. #    DEVICE_DEVS10 - black-and-white TIFF file formats.
  257. #    DEVICE_DEVS11 - BMP and color TIFF file formats.
  258. #    DEVICE_DEVS12 - PostScript image and 'bit' file formats.
  259. #    DEVICE_DEVS13 - PNG file formats.
  260. #    DEVICE_DEVS14 - CGM, JPEG, and MIFF file formats.
  261. #    DEVICE_DEVS15 - high-level (PostScript and PDF) file formats.
  262. # Feel free to disregard this convention if it gets in your way.
  263.  
  264. # If you want to add a new device driver, the examples below should be
  265. # enough of a guide to the correct form for the makefile rules.
  266. # Note that all drivers other than displays must include page.dev in their
  267. # dependencies and use $(SETPDEV) rather than $(SETDEV) in their rule bodies.
  268.  
  269. # All device drivers depend on the following:
  270. GDEV=$(AK) $(ECHOGS_XE) $(gserrors_h) $(gx_h) $(gxdevice_h)
  271.  
  272. # "Printer" drivers depend on the following:
  273. PDEVH=$(AK) $(gdevprn_h)
  274.  
  275. # Define the header files for device drivers.  Every header file used by
  276. # more than one device driver family must be listed here.
  277. gdev8bcm_h=gdev8bcm.h
  278. gdevpccm_h=gdevpccm.h
  279. gdevpcfb_h=gdevpcfb.h $(dos__h)
  280. gdevpcl_h=gdevpcl.h
  281. gdevsvga_h=gdevsvga.h
  282. gdevx_h=gdevx.h
  283.  
  284. ###### ----------------------- Device support ----------------------- ######
  285.  
  286. # Provide a mapping between StandardEncoding and ISOLatin1Encoding.
  287. gdevemap.$(OBJ): gdevemap.c $(AK) $(std_h)
  288.  
  289. # Implement dynamic color management for 8-bit mapped color displays.
  290. gdev8bcm.$(OBJ): gdev8bcm.c $(AK) \
  291.   $(gx_h) $(gxdevice_h) $(gdev8bcm_h)
  292.  
  293. ###### ------------------- MS-DOS display devices ------------------- ######
  294.  
  295. # There are really only three drivers: an EGA/VGA driver (4 bit-planes,
  296. # plane-addressed), a SuperVGA driver (8 bit-planes, byte addressed),
  297. # and a special driver for the S3 chip.
  298.  
  299. # PC display color mapping
  300. gdevpccm.$(OBJ): gdevpccm.c $(AK) \
  301.   $(gx_h) $(gsmatrix_h) $(gxdevice_h) $(gdevpccm_h)
  302.  
  303. ### ----------------------- EGA and VGA displays ----------------------- ###
  304.  
  305. # The shared MS-DOS makefile defines PCFBASM as either gdevegaa.$(OBJ)
  306. # or an empty string.
  307.  
  308. gdevegaa.$(OBJ): gdevegaa.asm
  309.  
  310. # NOTE: for direct frame buffer addressing under SCO Unix or Xenix,
  311. # change gdevevga to gdevsco in the following line.  Also, since
  312. # SCO's /bin/as does not support the "out" instructions, you must build
  313. # the gnu assembler and have it on your path as "as".
  314. EGAVGA=gdevevga.$(OBJ) gdevpcfb.$(OBJ) gdevpccm.$(OBJ) $(PCFBASM)
  315. #EGAVGA=gdevsco.$(OBJ) gdevpcfb.$(OBJ) gdevpccm.$(OBJ) $(PCFBASM)
  316.  
  317. gdevevga.$(OBJ): gdevevga.c $(GDEV) $(memory__h) $(gdevpcfb_h)
  318.     $(CCD) gdevevga.c
  319.  
  320. gdevsco.$(OBJ): gdevsco.c $(GDEV) $(memory__h) $(gdevpcfb_h)
  321.  
  322. # Common code for MS-DOS and SCO.
  323. gdevpcfb.$(OBJ): gdevpcfb.c $(GDEV) $(memory__h) $(gconfigv_h)\
  324.  $(gdevpccm_h) $(gdevpcfb_h) $(gsparam_h)
  325.     $(CCD) gdevpcfb.c
  326.  
  327. # The EGA/VGA family includes EGA and VGA.  Many SuperVGAs in 800x600,
  328. # 16-color mode can share the same code; see the next section below.
  329.  
  330. ega.dev: $(EGAVGA)
  331.     $(SETDEV) ega $(EGAVGA)
  332.  
  333. vga.dev: $(EGAVGA)
  334.     $(SETDEV) vga $(EGAVGA)
  335.  
  336. ### ------------------------- SuperVGA displays ------------------------ ###
  337.  
  338. # SuperVGA displays in 16-color, 800x600 mode are really just slightly
  339. # glorified VGA's, so we can handle them all with a single driver.
  340. # The way to select them on the command line is with
  341. #    -sDEVICE=svga16 -dDisplayMode=NNN
  342. # where NNN is the display mode in decimal.  See use.txt for the modes
  343. # for some popular display chipsets.
  344.  
  345. svga16.dev: $(EGAVGA)
  346.     $(SETDEV) svga16 $(EGAVGA)
  347.  
  348. # More capable SuperVGAs have a wide variety of slightly differing
  349. # interfaces, so we need a separate driver for each one.
  350.  
  351. SVGA=gdevsvga.$(OBJ) gdevpccm.$(OBJ) $(PCFBASM)
  352.  
  353. gdevsvga.$(OBJ): gdevsvga.c $(GDEV) $(memory__h) $(gconfigv_h)\
  354.  $(gsparam_h) $(gxarith_h) $(gdevpccm_h) $(gdevpcfb_h) $(gdevsvga_h)
  355.     $(CCD) gdevsvga.c
  356.  
  357. # The SuperVGA family includes: Avance Logic Inc., ATI Wonder, S3,
  358. # Trident, Tseng ET3000/4000, and VESA.
  359.  
  360. ali.dev: $(SVGA)
  361.     $(SETDEV) ali $(SVGA)
  362.  
  363. atiw.dev: $(SVGA)
  364.     $(SETDEV) atiw $(SVGA)
  365.  
  366. tseng.dev: $(SVGA)
  367.     $(SETDEV) tseng $(SVGA)
  368.  
  369. tvga.dev: $(SVGA)
  370.     $(SETDEV) tvga $(SVGA)
  371.  
  372. vesa.dev: $(SVGA)
  373.     $(SETDEV) vesa $(SVGA)
  374.  
  375. # The S3 driver doesn't share much code with the others.
  376.  
  377. s3vga_=gdevs3ga.$(OBJ) gdevsvga.$(OBJ) gdevpccm.$(OBJ)
  378. s3vga.dev: $(SVGA) $(s3vga_)
  379.     $(SETDEV) s3vga $(SVGA)
  380.     $(ADDMOD) s3vga -obj $(s3vga_)
  381.  
  382. gdevs3ga.$(OBJ): gdevs3ga.c $(GDEV) $(gdevpcfb_h) $(gdevsvga_h)
  383.     $(CCD) gdevs3ga.c
  384.  
  385. ### ------------ The BGI (Borland Graphics Interface) device ----------- ###
  386.  
  387. cgaf.$(OBJ): $(BGIDIR)\cga.bgi
  388.     $(BGIDIR)\bgiobj /F $(BGIDIR)\cga
  389.  
  390. egavgaf.$(OBJ): $(BGIDIR)\egavga.bgi
  391.     $(BGIDIR)\bgiobj /F $(BGIDIR)\egavga
  392.  
  393. # Include egavgaf.$(OBJ) for debugging only.
  394. bgi_=gdevbgi.$(OBJ) cgaf.$(OBJ)
  395. bgi.dev: $(bgi_)
  396.     $(SETDEV) bgi $(bgi_)
  397.     $(ADDMOD) bgi -lib $(LIBDIR)\graphics
  398.  
  399. gdevbgi.$(OBJ): gdevbgi.c $(GDEV) $(MAKEFILE) $(gxxfont_h)
  400.     $(CCC) -DBGI_LIB="$(BGIDIRSTR)" gdevbgi.c
  401.  
  402. ### ------------------- The Hercules Graphics display ------------------- ###
  403.  
  404. herc_=gdevherc.$(OBJ)
  405. herc.dev: $(herc_)
  406.     $(SETDEV) herc $(herc_)
  407.  
  408. gdevherc.$(OBJ): gdevherc.c $(GDEV) $(dos__h) $(gsmatrix_h) $(gxbitmap_h)
  409.     $(CCC) gdevherc.c
  410.  
  411. ### ---------------------- The Private Eye display ---------------------- ###
  412. ### Note: this driver was contributed by a user:                          ###
  413. ###   please contact narf@media-lab.media.mit.edu if you have questions.  ###
  414.  
  415. pe_=gdevpe.$(OBJ)
  416. pe.dev: $(pe_)
  417.     $(SETDEV) pe $(pe_)
  418.  
  419. gdevpe.$(OBJ): gdevpe.c $(GDEV) $(memory__h)
  420.  
  421. ###### ----------------------- Other displays ------------------------ ######
  422. ### ---------------- Amiga display/printer/file devices ---------------- ###
  423. ### Note: this driver was contributed by a user: please contact          ###
  424. ###       Olaf Barthel (olsen@sourcery.han.de) if you have questions.    ###
  425. ###       He would also like to hear from anyone using the driver.       ###
  426. ### Please consult the source code for additional documentation.         ###
  427.  
  428. amiga_=gdevamiga.$(OBJ)
  429.  
  430. amiga.dev: $(amiga_)
  431.     $(SETDEV) amiga $(amiga_)
  432.  
  433. amiga_low.dev: $(amiga_)
  434.     $(SETDEV) amiga_low $(amiga_)
  435.  
  436. amiga_high.dev: $(amiga_)
  437.     $(SETDEV) amiga_high $(amiga_)
  438.  
  439. amiga_super.dev: $(amiga_)
  440.     $(SETDEV) amiga_super $(amiga_)
  441.  
  442. amiga_a2024.dev: $(amiga_)
  443.     $(SETDEV) amiga_a2024 $(amiga_)
  444.  
  445. amiga_picassoii.dev: $(amiga_)
  446.     $(SETDEV) amiga_picassoii $(amiga_)
  447.  
  448. amiga_custom.dev: $(amiga_)
  449.     $(SETDEV) amiga_custom $(amiga_)
  450.  
  451. amiga_printer.dev: $(amiga_)
  452.     $(SETDEV) amiga_printer $(amiga_)
  453.  
  454. amiga_ilbm.dev: $(amiga_)
  455.     $(SETDEV) amiga_ilbm $(amiga_)
  456.  
  457. gdevamiga.$(OBJ): $(srcdir)/gdevamiga.c
  458.  
  459.  
  460. ### -------------------- The MS-Windows 3.n DLL ------------------------- ###
  461.  
  462. gsdll_h=gsdll.h
  463.  
  464. gdevmswn_h=gdevmswn.h $(GDEV)\
  465.  $(dos__h) $(memory__h) $(string__h) $(windows__h)\
  466.  gp_mswin.h
  467.  
  468. gdevmswn.$(OBJ): gdevmswn.c $(gdevmswn_h) $(gp_h) $(gpcheck_h) \
  469.  $(gsdll_h) $(gsparam_h) $(gdevpccm_h)
  470.  
  471. gdevmsxf.$(OBJ): gdevmsxf.c $(ctype__h) $(math__h) $(memory__h) $(string__h)\
  472.  $(gdevmswn_h) $(gsstruct_h) $(gsutil_h) $(gxxfont_h)
  473.  
  474. # An implementation using a DIB filled by an image device.
  475. gdevwdib.$(OBJ): gdevwdib.c $(gdevmswn_h) $(gsdll_h) $(gxdevmem_h)
  476.  
  477. mswindll_=gdevmswn.$(OBJ) gdevmsxf.$(OBJ) gdevwdib.$(OBJ) \
  478.   gdevemap.$(OBJ) gdevpccm.$(OBJ)
  479. mswindll.dev: $(mswindll_)
  480.     $(SETDEV) mswindll $(mswindll_)
  481.  
  482. ### -------------------- The MS-Windows DDB 3.n printer ----------------- ###
  483.  
  484. mswinprn_=gdevwprn.$(OBJ) gdevmsxf.$(OBJ)
  485. mswinprn.dev: $(mswinprn_)
  486.     $(SETDEV) mswinprn $(mswinprn_)
  487.  
  488. gdevwprn.$(OBJ): gdevwprn.c $(gdevmswn_h) $(gp_h)
  489.  
  490. ### -------------------- The MS-Windows DIB 3.n printer ----------------- ###
  491.  
  492. mswinpr2_=gdevwpr2.$(OBJ)
  493. mswinpr2.dev: $(mswinpr2_) page.dev
  494.     $(SETPDEV) mswinpr2 $(mswinpr2_)
  495.  
  496. gdevwpr2.$(OBJ): gdevwpr2.c $(PDEVH) $(windows__h)\
  497.  $(gdevpccm_h) $(gp_h) gp_mswin.h
  498.  
  499. ### ------------------ OS/2 Presentation Manager device ----------------- ###
  500.  
  501. os2pm_=gdevpm.$(OBJ) gdevpccm.$(OBJ)
  502. os2pm.dev: $(os2pm_)
  503.     $(SETDEV) os2pm $(os2pm_)
  504.  
  505. os2dll_=gdevpm.$(OBJ) gdevpccm.$(OBJ)
  506. os2dll.dev: $(os2dll_)
  507.     $(SETDEV) os2dll $(os2dll_)
  508.  
  509. gdevpm.$(OBJ): gdevpm.c $(string__h)\
  510.  $(gp_h) $(gpcheck_h)\
  511.  $(gsdll_h) $(gserrors_h) $(gsexit_h) $(gsparam_h)\
  512.  $(gx_h) $(gxdevice_h) $(gxdevmem_h)\
  513.  $(gdevpccm_h) gdevpm.h
  514.  
  515. ### --------------------------- The OS/2 printer ------------------------ ###
  516.  
  517. os2prn_=gdevos2p.$(OBJ)
  518. os2prn.dev: $(os2prn_) page.dev
  519.     $(SETPDEV) os2prn $(os2prn_)
  520.  
  521. os2prn.$(OBJ): os2prn.c $(gp_h)
  522.  
  523. ### -------------- The AT&T 3b1 Unixpc monochrome display --------------- ###
  524. ### Note: this driver was contributed by a user: please contact           ###
  525. ###       Andy Fyfe (andy@cs.caltech.edu) if you have questions.          ###
  526.  
  527. att3b1_=gdev3b1.$(OBJ)
  528. att3b1.dev: $(att3b1_)
  529.     $(SETDEV) att3b1 $(att3b1_)
  530.  
  531. gdev3b1.$(OBJ): gdev3b1.c $(GDEV)
  532.  
  533. ### ---------------------- Linux PC with vgalib ------------------------- ###
  534. ### Note: these drivers were contributed by users.                        ###
  535. ### For questions about the lvga256 driver, please contact                ###
  536. ###       Ludger Kunz (ludger.kunz@fernuni-hagen.de).                     ###
  537. ### For questions about the vgalib driver, please contact                 ###
  538. ###       Erik Talvola (talvola@gnu.ai.mit.edu).                          ###
  539.  
  540. lvga256_=gdevl256.$(OBJ)
  541. lvga256.dev: $(lvga256_)
  542.     $(SETDEV) lvga256 $(lvga256_)
  543.     $(ADDMOD) lvga256 -lib vga vgagl
  544.  
  545. gdevl256.$(OBJ): gdevl256.c $(GDEV)
  546.  
  547. vgalib_=gdevvglb.$(OBJ) gdevpccm.$(OBJ)
  548. vgalib.dev: $(vgalib_)
  549.     $(SETDEV) vgalib $(vgalib_)
  550.     $(ADDMOD) vgalib -lib vga
  551.  
  552. gdevvglb.$(OBJ): gdevvglb.c $(GDEV) $(gdevpccm_h) $(gsparam_h)
  553.  
  554. ### ------------------- Sony NeWS frame buffer device ------------------ ###
  555. ### Note: this driver was contributed by a user: please contact          ###
  556. ###       Mike Smolenski (mike@intertech.com) if you have questions.     ###
  557.  
  558. # This is implemented as a 'printer' device.
  559. sonyfb_=gdevsnfb.$(OBJ)
  560. sonyfb.dev: $(sonyfb_) page.dev
  561.     $(SETPDEV) sonyfb $(sonyfb_)
  562.  
  563. gdevsnfb.$(OBJ): gdevsnfb.c $(PDEVH)
  564.  
  565. ### ------------------------ The SunView device ------------------------ ###
  566. ### Note: this driver is maintained by a user: if you have questions,    ###
  567. ###       please contact Andreas Stolcke (stolcke@icsi.berkeley.edu).    ###
  568.  
  569. sunview_=gdevsun.$(OBJ)
  570. sunview.dev: $(sunview_)
  571.     $(SETDEV) sunview $(sunview_)
  572.     $(ADDMOD) sunview -lib suntool sunwindow pixrect
  573.  
  574. gdevsun.$(OBJ): gdevsun.c $(GDEV) $(malloc__h)\
  575.  $(gscdefs_h) $(gserrors_h) $(gsmatrix_h)
  576.  
  577. ### -------------------------- The X11 device -------------------------- ###
  578.  
  579. # Aladdin Enterprises does not support Ghostview.  For more information
  580. # about Ghostview, please contact Tim Theisen (ghostview@cs.wisc.edu).
  581.  
  582. # See the main makefile for the definition of XLIBS.
  583. x11_=gdevx.$(OBJ) gdevxini.$(OBJ) gdevxxf.$(OBJ) gdevemap.$(OBJ)
  584. x11.dev: $(x11_)
  585.     $(SETDEV) x11 $(x11_)
  586.     $(ADDMOD) x11 -lib $(XLIBS)
  587.  
  588. # See the main makefile for the definition of XINCLUDE.
  589. GDEVX=$(GDEV) x_.h gdevx.h $(MAKEFILE)
  590. gdevx.$(OBJ): gdevx.c $(GDEVX) $(math__h) $(memory__h) $(gsparam_h)
  591.     $(CCC) $(XINCLUDE) -I. $(srcdir)/gdevx.c
  592.  
  593. gdevxini.$(OBJ): gdevxini.c $(GDEVX) $(math__h) $(memory__h) $(gserrors_h)
  594.     $(CCC) $(XINCLUDE) -I. $(srcdir)/gdevxini.c
  595.  
  596. gdevxxf.$(OBJ): gdevxxf.c $(GDEVX) $(math__h) $(memory__h)\
  597.  $(gsstruct_h) $(gsutil_h) $(gxxfont_h)
  598.     $(CCC) $(XINCLUDE) -I. $(srcdir)/gdevxxf.c
  599.  
  600. # Alternate X11-based devices to help debug other drivers.
  601. # x11alpha pretends to have 4 bits of alpha channel.
  602. # x11cmyk pretends to be a CMYK device with 1 bit each of C,M,Y,K.
  603. # x11gray2 pretends to be a 2-bit gray-scale device.
  604. # x11mono pretends to be a black-and-white device.
  605. x11alt_=$(x11_) gdevxalt.$(OBJ)
  606. x11alpha.dev: $(x11alt_)
  607.     $(SETDEV) x11alpha $(x11alt_)
  608.     $(ADDMOD) x11alpha -lib $(XLIBS)
  609.  
  610. x11cmyk.dev: $(x11alt_)
  611.     $(SETDEV) x11cmyk $(x11alt_)
  612.     $(ADDMOD) x11cmyk -lib $(XLIBS)
  613.  
  614. x11gray2.dev: $(x11alt_)
  615.     $(SETDEV) x11gray2 $(x11alt_)
  616.     $(ADDMOD) x11gray2 -lib $(XLIBS)
  617.  
  618. x11mono.dev: $(x11alt_)
  619.     $(SETDEV) x11mono $(x11alt_)
  620.     $(ADDMOD) x11mono -lib $(XLIBS)
  621.  
  622. gdevxalt.$(OBJ): gdevxalt.c $(GDEVX) $(math__h) $(memory__h) $(gsparam_h)
  623.     $(CCC) $(XINCLUDE) -I. $(srcdir)/gdevxalt.c
  624.  
  625. ### ------------------------- DEC sixel displays ------------------------ ###
  626. ### Note: this driver was contributed by a user: please contact           ###
  627. ###   Phil Keegstra (keegstra@tonga.gsfc.nasa.gov) if you have questions. ###
  628.  
  629. # This is a "printer" device, but it probably shouldn't be.
  630. # I don't know why the implementor chose to do it this way.
  631. sxlcrt_=gdevln03.$(OBJ)
  632. sxlcrt.dev: $(sxlcrt_) page.dev
  633.     $(SETPDEV) sxlcrt $(sxlcrt_)
  634.  
  635. ###### --------------- Memory-buffered printer devices --------------- ######
  636.  
  637. ### --------------------- The Apple printer devices --------------------- ###
  638. ### Note: these drivers were contributed by users.                        ###
  639. ###   If you have questions about the DMP driver, please contact          ###
  640. ###    Mark Wedel (master@cats.ucsc.edu).                                ###
  641. ###   If you have questions about the Imagewriter drivers, please contact ###
  642. ###    Jonathan Luckey (luckey@rtfm.mlb.fl.us).                          ###
  643. ###   If you have questions about the Imagewriter LQ driver, please       ###
  644. ###    contact Scott Barker (barkers@cuug.ab.ca).                        ###
  645.  
  646. appledmp_=gdevadmp.$(OBJ)
  647.  
  648. gdevadmp.$(OBJ): gdevadmp.c $(PDEVH)
  649.  
  650. appledmp.dev: $(appledmp_) page.dev
  651.     $(SETPDEV) appledmp $(appledmp_)
  652.  
  653. iwhi.dev: $(appledmp_) page.dev
  654.     $(SETPDEV) iwhi $(appledmp_)
  655.  
  656. iwlo.dev: $(appledmp_) page.dev
  657.     $(SETPDEV) iwlo $(appledmp_)
  658.  
  659. iwlq.dev: $(appledmp_) page.dev
  660.     $(SETPDEV) iwlq $(appledmp_)
  661.  
  662. ### ------------ The Canon BubbleJet BJ10e and BJ200 devices ------------ ###
  663.  
  664. bj10e_=gdevbj10.$(OBJ)
  665.  
  666. bj10e.dev: $(bj10e_) page.dev
  667.     $(SETPDEV) bj10e $(bj10e_)
  668.  
  669. bj200.dev: $(bj10e_) page.dev
  670.     $(SETPDEV) bj200 $(bj10e_)
  671.  
  672. gdevbj10.$(OBJ): gdevbj10.c $(PDEVH)
  673.  
  674. ### ------------- The CalComp Raster Format ----------------------------- ###
  675. ### Note: this driver was contributed by a user: please contact           ###
  676. ###       Ernst Muellner (ernst.muellner@oenzl.siemens.de) if you have    ###
  677. ###       questions.                                                      ###
  678.  
  679. ccr_=gdevccr.$(OBJ)
  680. ccr.dev: $(ccr_) page.dev
  681.     $(SETPDEV) ccr $(ccr_)
  682.  
  683. gdevccr.$(OBJ): gdevccr.c $(PDEVH)
  684.  
  685. ### ----------- The H-P DeskJet and LaserJet printer devices ----------- ###
  686.  
  687. ### These are essentially the same device.
  688. ### NOTE: printing at full resolution (300 DPI) requires a printer
  689. ###   with at least 1.5 Mb of memory.  150 DPI only requires .5 Mb.
  690. ### Note that the lj4dith driver is included with the H-P color printer
  691. ###   drivers below.
  692.  
  693. HPPCL=gdevpcl.$(OBJ)
  694. HPMONO=gdevdjet.$(OBJ) $(HPPCL)
  695.  
  696. gdevpcl.$(OBJ): gdevpcl.c $(PDEVH) $(gdevpcl_h)
  697.  
  698. gdevdjet.$(OBJ): gdevdjet.c $(PDEVH) $(gdevpcl_h)
  699.  
  700. deskjet.dev: $(HPMONO) page.dev
  701.     $(SETPDEV) deskjet $(HPMONO)
  702.  
  703. djet500.dev: $(HPMONO) page.dev
  704.     $(SETPDEV) djet500 $(HPMONO)
  705.  
  706. laserjet.dev: $(HPMONO) page.dev
  707.     $(SETPDEV) laserjet $(HPMONO)
  708.  
  709. ljetplus.dev: $(HPMONO) page.dev
  710.     $(SETPDEV) ljetplus $(HPMONO)
  711.  
  712. ### Selecting ljet2p provides TIFF (mode 2) compression on LaserJet III,
  713. ### IIIp, IIId, IIIsi, IId, and IIp. 
  714.  
  715. ljet2p.dev: $(HPMONO) page.dev
  716.     $(SETPDEV) ljet2p $(HPMONO)
  717.  
  718. ### Selecting ljet3 provides Delta Row (mode 3) compression on LaserJet III,
  719. ### IIIp, IIId, IIIsi.
  720.  
  721. ljet3.dev: $(HPMONO) page.dev
  722.     $(SETPDEV) ljet3 $(HPMONO)
  723.  
  724. ### Selecting ljet3d also provides duplex printing capability.
  725.  
  726. ljet3d.dev: $(HPMONO) page.dev
  727.     $(SETPDEV) ljet3d $(HPMONO)
  728.  
  729. ### Selecting ljet4 also provides Delta Row compression on LaserJet IV series.
  730.  
  731. ljet4.dev: $(HPMONO) page.dev
  732.     $(SETPDEV) ljet4 $(HPMONO)
  733.  
  734. lp2563.dev: $(HPMONO) page.dev
  735.     $(SETPDEV) lp2563 $(HPMONO)
  736.  
  737. oce9050.dev: $(HPMONO) page.dev
  738.     $(SETPDEV) oce9050 $(HPMONO)
  739.  
  740. ### ------------------ The H-P LaserJet 5 and 6 devices ----------------- ###
  741.  
  742. ### These drivers use H-P's new PCL XL printer language, like H-P's
  743. ### LaserJet 5 Enhanced driver for MS Windows.  We don't recommend using
  744. ### them:
  745. ###    - If you have a LJ5L, which isn't a "real" LaserJet 5, use the
  746. ###    ljet4 driver instead.  (The lj5 drivers won't work.)
  747. ###    - If you have any other model of LJ 5 or 6, use the pxlmono
  748. ###    driver, which often produces much more compact output.
  749.  
  750. gdevpxat_h=gdevpxat.h
  751. gdevpxen_h=gdevpxen.h
  752. gdevpxop_h=gdevpxop.h
  753.  
  754. ljet5_=gdevlj56.$(OBJ) $(HPPCL)
  755. lj5mono.dev: $(ljet5_) page.dev
  756.     $(SETPDEV) lj5mono $(ljet5_)
  757.  
  758. lj5gray.dev: $(ljet5_) page.dev
  759.     $(SETPDEV) lj5gray $(ljet5_)
  760.  
  761. gdevlj56.$(OBJ): gdevlj56.c $(PDEVH) $(gdevpcl_h)\
  762.  $(gdevpxat_h) $(gdevpxen_h) $(gdevpxop_h)
  763.  
  764. ### The H-P DeskJet, PaintJet, and DesignJet family color printer devices.###
  765. ### Note: there are two different 500C drivers, both contributed by users.###
  766. ###   If you have questions about the djet500c driver,                    ###
  767. ###       please contact AKayser@et.tudelft.nl.                           ###
  768. ###   If you have questions about the cdj* drivers,                       ###
  769. ###       please contact g.cameron@biomed.abdn.ac.uk.                     ###
  770. ###   If you have questions about the dnj560c driver,                     ###
  771. ###       please contact koert@zen.cais.com.                              ###
  772. ###   If you have questions about the lj4dith driver,                     ###
  773. ###       please contact Eckhard.Rueggeberg@ts.go.dlr.de.                 ###
  774. ###   If you have questions about the BJC600/BJC4000, BJC800, or ESCP     ###
  775. ###       drivers, please contact Yves.Arrouye@imag.fr.                   ###
  776.  
  777. cdeskjet_=gdevcdj.$(OBJ) $(HPPCL)
  778.  
  779. cdeskjet.dev: $(cdeskjet_) page.dev
  780.     $(SETPDEV) cdeskjet $(cdeskjet_)
  781.  
  782. cdjcolor.dev: $(cdeskjet_) page.dev
  783.     $(SETPDEV) cdjcolor $(cdeskjet_)
  784.  
  785. cdjmono.dev: $(cdeskjet_) page.dev
  786.     $(SETPDEV) cdjmono $(cdeskjet_)
  787.  
  788. cdj500.dev: $(cdeskjet_) page.dev
  789.     $(SETPDEV) cdj500 $(cdeskjet_)
  790.  
  791. cdj550.dev: $(cdeskjet_) page.dev
  792.     $(SETPDEV) cdj550 $(cdeskjet_)
  793.  
  794. declj250.dev: $(cdeskjet_) page.dev
  795.     $(SETPDEV) declj250 $(cdeskjet_)
  796.  
  797. dnj650c.dev: $(cdeskjet_) page.dev
  798.     $(SETPDEV) dnj650c $(cdeskjet_)
  799.  
  800. lj4dith.dev: $(cdeskjet_) page.dev
  801.     $(SETPDEV) lj4dith $(cdeskjet_)
  802.  
  803. pj.dev: $(cdeskjet_) page.dev
  804.     $(SETPDEV) pj $(cdeskjet_)
  805.  
  806. pjxl.dev: $(cdeskjet_) page.dev
  807.     $(SETPDEV) pjxl $(cdeskjet_)
  808.  
  809. pjxl300.dev: $(cdeskjet_) page.dev
  810.     $(SETPDEV) pjxl300 $(cdeskjet_)
  811.  
  812. # Note: the BJC600 driver also works for the BJC4000.
  813. bjc600.dev: $(cdeskjet_) page.dev
  814.     $(SETPDEV) bjc600 $(cdeskjet_)
  815.  
  816. bjc800.dev: $(cdeskjet_) page.dev
  817.     $(SETPDEV) bjc800 $(cdeskjet_)
  818.  
  819. escp.dev: $(cdeskjet_) page.dev
  820.     $(SETPDEV) escp $(cdeskjet_)
  821.  
  822. # NB: you can also customise the build if required, using
  823. # -DBitsPerPixel=<number> if you wish the default to be other than 24
  824. # for the generic drivers (cdj500, cdj550, pjxl300, pjtest, pjxltest).
  825. gdevcdj.$(OBJ): gdevcdj.c $(std_h) $(PDEVH) gdevbjc.h\
  826.  $(gsparam_h) $(gsstate_h) $(gxlum_h)\
  827.  $(gdevpcl_h)
  828.  
  829. djet500c_=gdevdjtc.$(OBJ) $(HPPCL)
  830. djet500c.dev: $(djet500c_) page.dev
  831.     $(SETPDEV) djet500c $(djet500c_)
  832.  
  833. gdevdjtc.$(OBJ): gdevdjtc.c $(PDEVH) $(malloc__h) $(gdevpcl_h)
  834.  
  835. ### -------------------- The Mitsubishi CP50 printer -------------------- ###
  836. ### Note: this driver was contributed by a user: please contact           ###
  837. ###       Michael Hu (michael@ximage.com) if you have questions.          ###
  838.  
  839. cp50_=gdevcp50.$(OBJ)
  840. cp50.dev: $(cp50_) page.dev
  841.     $(SETPDEV) cp50 $(cp50_)
  842.  
  843. gdevcp50.$(OBJ): gdevcp50.c $(PDEVH)
  844.  
  845. ### ----------------- The generic Epson printer device ----------------- ###
  846. ### Note: most of this code was contributed by users.  Please contact    ###
  847. ###       the following people if you have questions:                    ###
  848. ###   eps9mid - Guenther Thomsen (thomsen@cs.tu-berlin.de)               ###
  849. ###   eps9high - David Wexelblat (dwex@mtgzfs3.att.com)                  ###
  850. ###   ibmpro - James W. Birdsall (jwbirdsa@picarefy.picarefy.com)        ###
  851.  
  852. epson_=gdevepsn.$(OBJ)
  853.  
  854. epson.dev: $(epson_) page.dev
  855.     $(SETPDEV) epson $(epson_)
  856.  
  857. eps9mid.dev: $(epson_) page.dev
  858.     $(SETPDEV) eps9mid $(epson_)
  859.  
  860. eps9high.dev: $(epson_) page.dev
  861.     $(SETPDEV) eps9high $(epson_)
  862.  
  863. gdevepsn.$(OBJ): gdevepsn.c $(PDEVH)
  864.  
  865. ### ----------------- The IBM Proprinter printer device ---------------- ###
  866.  
  867. ibmpro.dev: $(epson_) page.dev
  868.     $(SETPDEV) ibmpro $(epson_)
  869.  
  870. ### -------------- The Epson LQ-2550 color printer device -------------- ###
  871. ### Note: this driver was contributed by users: please contact           ###
  872. ###       Dave St. Clair (dave@exlog.com) if you have questions.         ###
  873.  
  874. epsonc_=gdevepsc.$(OBJ)
  875. epsonc.dev: $(epsonc_) page.dev
  876.     $(SETPDEV) epsonc $(epsonc_)
  877.  
  878. gdevepsc.$(OBJ): gdevepsc.c $(PDEVH)
  879.  
  880. ### ------------- The Epson ESC/P 2 language printer devices ------------- ###
  881. ### Note: these drivers were contributed by users.                         ###
  882. ### For questions about the Stylus 800 and AP3250 drivers, please contact  ###
  883. ###        Richard Brown (rab@tauon.ph.unimelb.edu.au).                    ###
  884. ### For questions about the Stylus Color drivers, please contact           ###
  885. ###        Gunther Hess (gunther@elmos.de).                                ###
  886.  
  887. ESCP2=gdevescp.$(OBJ)
  888.  
  889. gdevescp.$(OBJ): gdevescp.c $(PDEVH)
  890.  
  891. ap3250.dev: $(ESCP2) page.dev
  892.     $(SETPDEV) ap3250 $(ESCP2)
  893.  
  894. st800.dev: $(ESCP2) page.dev
  895.     $(SETPDEV) st800 $(ESCP2)
  896.  
  897. stcolor1_=gdevstc.$(OBJ) gdevstc1.$(OBJ) gdevstc2.$(OBJ)
  898. stcolor2_=gdevstc3.$(OBJ) gdevstc4.$(OBJ)
  899. stcolor.dev: $(stcolor1_) $(stcolor2_) page.dev
  900.     $(SETPDEV) stcolor $(stcolor1_)
  901.     $(ADDMOD) stcolor -obj $(stcolor2_)
  902.  
  903. gdevstc.$(OBJ): gdevstc.c gdevstc.h $(PDEVH)
  904.  
  905. gdevstc1.$(OBJ): gdevstc1.c gdevstc.h $(PDEVH)
  906.  
  907. gdevstc2.$(OBJ): gdevstc2.c gdevstc.h $(PDEVH)
  908.  
  909. gdevstc3.$(OBJ): gdevstc3.c gdevstc.h $(PDEVH)
  910.  
  911. gdevstc4.$(OBJ): gdevstc4.c gdevstc.h $(PDEVH)
  912.  
  913. ### --------------- Ugly/Update -> Unified Printer Driver ---------------- ###
  914. ### For questions about this driver, please contact:                       ###
  915. ###        Gunther Hess (gunther@elmos.de)                                 ###
  916.  
  917. uniprint_=gdevupd.$(OBJ)
  918. uniprint.dev: $(uniprint_) page.dev
  919.     $(SETPDEV) uniprint $(uniprint_)
  920.  
  921. gdevupd.$(OBJ): gdevupd.c $(PDEVH) $(gsparam_h)
  922.  
  923. ### -------------- cdj850 - HP 850c Driver under development ------------- ###
  924. ### Since this driver is in the development-phase it is not distributed    ###
  925. ### with ghostscript, but it is available via anonymous ftp from:          ###
  926. ###                        ftp://bonk.ethz.ch                              ###
  927. ### For questions about this driver, please contact:                       ###
  928. ###       Uli Wortmann (E-Mail address inside the driver-package)          ###
  929.  
  930. cdeskjet8_=gdevcd8.$(OBJ) $(HPPCL)
  931.  
  932. cdj850.dev: $(cdeskjet8_) page.dev
  933.     $(SETPDEV) cdj850 $(cdeskjet8_)
  934.  
  935. ### ------------ The H-P PaintJet color printer device ----------------- ###
  936. ### Note: this driver also supports the DEC LJ250 color printer, which   ###
  937. ###       has a PaintJet-compatible mode, and the PaintJet XL.           ###
  938. ### If you have questions about the XL, please contact Rob Reiss         ###
  939. ###       (rob@moray.berkeley.edu).                                      ###
  940.  
  941. PJET=gdevpjet.$(OBJ) $(HPPCL)
  942.  
  943. gdevpjet.$(OBJ): gdevpjet.c $(PDEVH) $(gdevpcl_h)
  944.  
  945. lj250.dev: $(PJET) page.dev
  946.     $(SETPDEV) lj250 $(PJET)
  947.  
  948. paintjet.dev: $(PJET) page.dev
  949.     $(SETPDEV) paintjet $(PJET)
  950.  
  951. pjetxl.dev: $(PJET) page.dev
  952.     $(SETPDEV) pjetxl $(PJET)
  953.  
  954. ### -------------- Imagen ImPress Laser Printer device ----------------- ###
  955. ### Note: this driver was contributed by a user: please contact          ###
  956. ###       Alan Millar (AMillar@bolis.sf-bay.org) if you have questions.  ###
  957. ### Set USE_BYTE_STREAM if using parallel interface;                     ###
  958. ### Don't set it if using 'ipr' spooler (default).                       ###
  959. ### You may also add -DA4 if needed for A4 paper.             ###
  960.  
  961. imagen_=gdevimgn.$(OBJ)
  962. imagen.dev: $(imagen_) page.dev
  963.     $(SETPDEV) imagen $(imagen_)
  964.  
  965. gdevimgn.$(OBJ): gdevimgn.c $(PDEVH)
  966.     $(CCC) gdevimgn.c            # for ipr spooler
  967. #    $(CCC) -DUSE_BYTE_STREAM gdevimgn.c    # for parallel
  968.  
  969. ### ------- The IBM 3852 JetPrinter color inkjet printer device -------- ###
  970. ### Note: this driver was contributed by users: please contact           ###
  971. ###       Kevin Gift (kgift@draper.com) if you have questions.           ###
  972. ### Note that the paper size that can be addressed by the graphics mode  ###
  973. ###   used in this driver is fixed at 7-1/2 inches wide (the printable   ###
  974. ###   width of the jetprinter itself.)                                   ###
  975.  
  976. jetp3852_=gdev3852.$(OBJ)
  977. jetp3852.dev: $(jetp3852_) page.dev
  978.     $(SETPDEV) jetp3852 $(jetp3852_)
  979.  
  980. gdev3852.$(OBJ): gdev3852.c $(PDEVH) $(gdevpcl_h)
  981.  
  982. ### ---------- The Canon LBP-8II and LIPS III printer devices ---------- ###
  983. ### Note: these drivers were contributed by users.                       ###
  984. ### For questions about these drivers, please contact                    ###
  985. ###       Lauri Paatero, lauri.paatero@paatero.pp.fi                     ###
  986.  
  987. lbp8_=gdevlbp8.$(OBJ)
  988. lbp8.dev: $(lbp8_) page.dev
  989.     $(SETPDEV) lbp8 $(lbp8_)
  990.  
  991. lips3.dev: $(lbp8_) page.dev
  992.     $(SETPDEV) lips3 $(lbp8_)
  993.  
  994. gdevlbp8.$(OBJ): gdevlbp8.c $(PDEVH)
  995.  
  996. ### ----------- The DEC LN03/LA50/LA70/LA75 printer devices ------------ ###
  997. ### Note: this driver was contributed by users: please contact           ###
  998. ###       Ulrich Mueller (ulm@vsnhd1.cern.ch) if you have questions.     ###
  999. ### For questions about LA50 and LA75, please contact                    ###
  1000. ###       Ian MacPhedran (macphed@dvinci.USask.CA).                      ###
  1001. ### For questions about the LA70, please contact                         ###
  1002. ###       Bruce Lowekamp (lowekamp@csugrad.cs.vt.edu).                   ###
  1003. ### For questions about the LA75plus, please contact                     ###
  1004. ###       Andre' Beck (Andre_Beck@IRS.Inf.TU-Dresden.de).                ###
  1005.  
  1006. ln03_=gdevln03.$(OBJ)
  1007. ln03.dev: $(ln03_) page.dev
  1008.     $(SETPDEV) ln03 $(ln03_)
  1009.  
  1010. la50.dev: $(ln03_) page.dev
  1011.     $(SETPDEV) la50 $(ln03_)
  1012.  
  1013. la70.dev: $(ln03_) page.dev
  1014.     $(SETPDEV) la70 $(ln03_)
  1015.  
  1016. la75.dev: $(ln03_) page.dev
  1017.     $(SETPDEV) la75 $(ln03_)
  1018.  
  1019. la75plus.dev: $(ln03_) page.dev
  1020.     $(SETPDEV) la75plus $(ln03_)
  1021.  
  1022. gdevln03.$(OBJ): gdevln03.c $(PDEVH)
  1023.  
  1024. # LA70 driver with low-resolution text enhancement.
  1025.  
  1026. la70t_=gdevla7t.$(OBJ)
  1027. la70t.dev: $(la70t_) page.dev
  1028.     $(SETPDEV) la70t $(la70t_)
  1029.  
  1030. gdevla7t.$(OBJ): gdevla7t.c $(PDEVH)
  1031.  
  1032. ### -------------- The Epson LP-8000 laser printer device -------------- ###
  1033. ### Note: this driver was contributed by a user: please contact Oleg     ###
  1034. ###       Oleg Fat'yanov <faty1@rlem.titech.ac.jp> if you have questions.###
  1035.  
  1036. lp8000_=gdevlp8k.$(OBJ)
  1037. lp8000.dev: $(lp8000_) page.dev
  1038.     $(SETPDEV) lp8000 $(lp8000_)
  1039.  
  1040. gdevlp8k.$(OBJ): gdevlp8k.c $(PDEVH)
  1041.  
  1042. ### -------------- The C.Itoh M8510 printer device --------------------- ###
  1043. ### Note: this driver was contributed by a user: please contact Bob      ###
  1044. ###       Smith <bob@snuffy.penfield.ny.us> if you have questions.       ###
  1045.  
  1046. m8510_=gdev8510.$(OBJ)
  1047. m8510.dev: $(m8510_) page.dev
  1048.     $(SETPDEV) m8510 $(m8510_)
  1049.  
  1050. gdev8510.$(OBJ): gdev8510.c $(PDEVH)
  1051.  
  1052. ### -------------- 24pin Dot-matrix printer with 360DPI ---------------- ###
  1053. ### Note: this driver was contributed by users.  Please contact:         ###
  1054. ###    Andreas Schwab (schwab@ls5.informatik.uni-dortmund.de) for        ###
  1055. ###      questions about the NEC P6;                                     ###
  1056. ###    Christian Felsch (felsch@tu-harburg.d400.de) for                  ###
  1057. ###      questions about the Epson LQ850.                                ###
  1058.  
  1059. dm24_=gdevdm24.$(OBJ)
  1060. gdevdm24.$(OBJ): gdevdm24.c $(PDEVH)
  1061.  
  1062. necp6.dev: $(dm24_) page.dev
  1063.     $(SETPDEV) necp6 $(dm24_)
  1064.  
  1065. lq850.dev: $(dm24_) page.dev
  1066.     $(SETPDEV) lq850 $(dm24_)
  1067.  
  1068. ### ----------------- The Okidata MicroLine 182 device ----------------- ###
  1069. ### Note: this driver was contributed by a user: please contact          ###
  1070. ###       Maarten Koning (smeg@bnr.ca) if you have questions.            ###
  1071.  
  1072. oki182_=gdevo182.$(OBJ)
  1073. oki182.dev: $(oki182_) page.dev
  1074.     $(SETPDEV) oki182 $(oki182_)
  1075.  
  1076. gdevo182.$(OBJ): gdevo182.c $(PDEVH)
  1077.  
  1078. ### ------------- The Okidata IBM compatible printer device ------------ ###
  1079. ### Note: this driver was contributed by a user: please contact          ###
  1080. ###       Charles Mack (chasm@netcom.com) if you have questions.         ###
  1081.  
  1082. okiibm_=gdevokii.$(OBJ)
  1083. okiibm.dev: $(okiibm_) page.dev
  1084.     $(SETPDEV) okiibm $(okiibm_)
  1085.  
  1086. gdevokii.$(OBJ): gdevokii.c $(PDEVH)
  1087.  
  1088. ### ------------- The Ricoh 4081 laser printer device ------------------ ###
  1089. ### Note: this driver was contributed by users:                          ###
  1090. ###       please contact kdw@oasis.icl.co.uk if you have questions.      ###
  1091.  
  1092. r4081_=gdev4081.$(OBJ)
  1093. r4081.dev: $(r4081_) page.dev
  1094.     $(SETPDEV) r4081 $(r4081_)
  1095.  
  1096.  
  1097. gdev4081.$(OBJ): gdev4081.c $(PDEVH)
  1098.  
  1099. ### -------------------- Sony NWP533 printer device -------------------- ###
  1100. ### Note: this driver was contributed by a user: please contact Tero     ###
  1101. ###       Kivinen (kivinen@joker.cs.hut.fi) if you have questions.       ###
  1102.  
  1103. nwp533_=gdevn533.$(OBJ)
  1104. nwp533.dev: $(nwp533_) page.dev
  1105.     $(SETPDEV) nwp533 $(nwp533_)
  1106.  
  1107. gdevn533.$(OBJ): gdevn533.c $(PDEVH)
  1108.  
  1109. ### ------------------------- The SPARCprinter ------------------------- ###
  1110. ### Note: this driver was contributed by users: please contact Martin    ###
  1111. ###       Schulte (schulte@thp.uni-koeln.de) if you have questions.      ###
  1112. ###       He would also like to hear from anyone using the driver.       ###
  1113. ### Please consult the source code for additional documentation.         ###
  1114.  
  1115. sparc_=gdevsppr.$(OBJ)
  1116. sparc.dev: $(sparc_) page.dev
  1117.     $(SETPDEV) sparc $(sparc_)
  1118.  
  1119. gdevsppr.$(OBJ): gdevsppr.c $(PDEVH)
  1120.  
  1121. ### ----------------- The StarJet SJ48 device -------------------------- ###
  1122. ### Note: this driver was contributed by a user: if you have questions,  ###
  1123. ###                          .                                          ###
  1124. ###       please contact Mats Akerblom (f86ma@dd.chalmers.se).           ###
  1125.  
  1126. sj48_=gdevsj48.$(OBJ)
  1127. sj48.dev: $(sj48_) page.dev
  1128.     $(SETPDEV) sj48 $(sj48_)
  1129.  
  1130. gdevsj48.$(OBJ): gdevsj48.c $(PDEVH)
  1131.  
  1132. ### ----------------- Tektronix 4396d color printer -------------------- ###
  1133. ### Note: this driver was contributed by a user: please contact          ###
  1134. ###       Karl Hakimian (hakimian@haney.eecs.wsu.edu)                    ###
  1135. ###       if you have questions.                                         ###
  1136.  
  1137. t4693d_=gdev4693.$(OBJ)
  1138. t4693d2.dev: $(t4693d_) page.dev
  1139.     $(SETPDEV) t4693d2 $(t4693d_)
  1140.  
  1141. t4693d4.dev: $(t4693d_) page.dev
  1142.     $(SETPDEV) t4693d4 $(t4693d_)
  1143.  
  1144. t4693d8.dev: $(t4693d_) page.dev
  1145.     $(SETPDEV) t4693d8 $(t4693d_)
  1146.  
  1147. gdev4693.$(OBJ): gdev4693.c $(PDEVH)
  1148.  
  1149. ### -------------------- Tektronix ink-jet printers -------------------- ###
  1150. ### Note: this driver was contributed by a user: please contact          ###
  1151. ###       Karsten Spang (spang@nbivax.nbi.dk) if you have questions.     ###
  1152.  
  1153. tek4696_=gdevtknk.$(OBJ)
  1154. tek4696.dev: $(tek4696_) page.dev
  1155.     $(SETPDEV) tek4696 $(tek4696_)
  1156.  
  1157. gdevtknk.$(OBJ): gdevtknk.c $(PDEVH) $(malloc__h)
  1158.  
  1159. ### ----------------- The Xerox XES printer device --------------------- ###
  1160. ### Note: this driver was contributed by users: please contact           ###
  1161. ###       Peter Flass (flass@lbdrscs.bitnet) if you have questions.      ###
  1162.  
  1163. xes_=gdevxes.$(OBJ)
  1164. xes.dev: $(xes_) page.dev
  1165.     $(SETPDEV) xes $(xes_)
  1166.  
  1167. gdevxes.$(OBJ): gdevxes.c $(PDEVH)
  1168.  
  1169. ###### ------------------------- Fax devices ------------------------- ######
  1170.  
  1171. ### --------------- Generic PostScript system compatible fax ------------ ###
  1172.  
  1173. # This code doesn't work yet.  Don't even think about using it.
  1174.  
  1175. PSFAX=gdevpfax.$(OBJ)
  1176.  
  1177. psfax_=$(PSFAX)
  1178. psfax.dev: $(psfax_) page.dev
  1179.     $(SETPDEV) psfax $(psfax_)
  1180.     $(ADDMOD) psfax -iodev Fax
  1181.  
  1182. gdevpfax.$(OBJ): gdevpfax.c $(PDEVH) $(gsparam_h) $(gxiodev_h)
  1183.  
  1184. ### ------------------------- The DigiFAX device ------------------------ ###
  1185. ###    This driver outputs images in a format suitable for use with       ###
  1186. ###    DigiBoard, Inc.'s DigiFAX software.  Use -sDEVICE=dfaxhigh for     ###
  1187. ###    high resolution output, -sDEVICE=dfaxlow for normal output.        ###
  1188. ### Note: this driver was contributed by a user: please contact           ###
  1189. ###       Rick Richardson (rick@digibd.com) if you have questions.        ###
  1190.  
  1191. dfax_=gdevdfax.$(OBJ) gdevtfax.$(OBJ)
  1192.  
  1193. dfaxlow.dev: $(dfax_) page.dev
  1194.     $(SETPDEV) dfaxlow $(dfax_)
  1195.     $(ADDMOD) dfaxlow -include cfe
  1196.  
  1197. dfaxhigh.dev: $(dfax_) page.dev
  1198.     $(SETPDEV) dfaxhigh $(dfax_)
  1199.     $(ADDMOD) dfaxhigh -include cfe
  1200.  
  1201. gdevdfax.$(OBJ): gdevdfax.c $(PDEVH) $(scfx_h) $(strimpl_h)
  1202.  
  1203. ### --------------See under TIFF below for fax-format TIFF -------------- ###
  1204.  
  1205. ###### ------------------- High-level file formats ------------------- ######
  1206.  
  1207. # Support for PostScript and PDF
  1208.  
  1209. gdevpsdf_h=gdevpsdf.h $(gdevvec_h) $(strimpl_h)
  1210. gdevpstr_h=gdevpstr.h
  1211.  
  1212. gdevpsdf.$(OBJ): gdevpsdf.c $(stdio__h) $(string__h)\
  1213.  $(gserror_h) $(gserrors_h) $(gsmemory_h) $(gsparam_h) $(gstypes_h)\
  1214.  $(gxdevice_h)\
  1215.  $(scfx_h) $(slzwx_h) $(srlx_h) $(strimpl_h)\
  1216.  $(gdevpsdf_h) $(gdevpstr_h)
  1217.  
  1218. gdevpstr.$(OBJ): gdevpstr.c $(math__h) $(stdio__h) $(string__h)\
  1219.  $(gdevpstr_h) $(stream_h)
  1220.  
  1221. # PostScript and EPS writers
  1222.  
  1223. pswrite1_=gdevps.$(OBJ) gdevpsdf.$(OBJ) gdevpstr.$(OBJ)
  1224. pswrite2_=scantab.$(OBJ) sfilter2.$(OBJ)
  1225. pswrite_=$(pswrite1_) $(pswrite2_)
  1226. epswrite.dev: $(ECHOGS_XE) $(pswrite_) vector.dev
  1227.     $(SETDEV) epswrite $(pswrite1_)
  1228.     $(ADDMOD) epswrite $(pswrite2_)
  1229.     $(ADDMOD) epswrite -include vector
  1230.  
  1231. pswrite.dev: $(ECHOGS_XE) $(pswrite_) vector.dev
  1232.     $(SETDEV) pswrite $(pswrite1_)
  1233.     $(ADDMOD) pswrite $(pswrite2_)
  1234.     $(ADDMOD) pswrite -include vector
  1235.  
  1236. gdevps.$(OBJ): gdevps.c $(GDEV) $(math__h) $(time__h)\
  1237.  $(gscdefs_h) $(gscspace_h) $(gsparam_h) $(gsiparam_h) $(gsmatrix_h)\
  1238.  $(gxdcolor_h)\
  1239.  $(sa85x_h) $(strimpl_h)\
  1240.  $(gdevpsdf_h) $(gdevpstr_h)
  1241.  
  1242. # PDF writer
  1243. # Note that gs_pdfwr.ps will only actually be loaded if the configuration
  1244. # includes a PostScript interpreter.
  1245.  
  1246. pdfwrite1_=gdevpdf.$(OBJ) gdevpdfi.$(OBJ) gdevpdfm.$(OBJ)
  1247. pdfwrite2_=gdevpdfp.$(OBJ) gdevpdft.$(OBJ) gdevpsdf.$(OBJ) gdevpstr.$(OBJ)
  1248. pdfwrite3_=gsflip.$(OBJ) scantab.$(OBJ) sfilter2.$(OBJ) sstring.$(OBJ)
  1249. pdfwrite_=$(pdfwrite1_) $(pdfwrite2_) $(pdfwrite3_)
  1250. pdfwrite.dev: $(ECHOGS_XE) $(pdfwrite_) \
  1251.   cmyklib.dev cfe.dev dcte.dev lzwe.dev rle.dev vector.dev
  1252.     $(SETDEV) pdfwrite $(pdfwrite1_)
  1253.     $(ADDMOD) pdfwrite $(pdfwrite2_)
  1254.     $(ADDMOD) pdfwrite $(pdfwrite3_)
  1255.     $(ADDMOD) pdfwrite -ps gs_pdfwr
  1256.     $(ADDMOD) pdfwrite -include cmyklib cfe dcte lzwe rle vector
  1257.  
  1258. gdevpdfx_h=gdevpdfx.h $(gsparam_h) $(gxdevice_h) $(gxline_h) $(stream_h)\
  1259.  $(gdevpsdf_h) $(gdevpstr_h)
  1260.  
  1261. gdevpdf.$(OBJ): gdevpdf.c $(math__h) $(string__h) $(time__h) $(gp_h) \
  1262.   $(gdevpdfx_h) $(gscdefs_h) $(gserrors_h) \
  1263.   $(gx_h) $(gxdevice_h) $(gxfixed_h) $(gxistate_h) $(gxpaint_h) \
  1264.   $(gzcpath_h) $(gzpath_h) $(scfx_h) $(strimpl_h)
  1265.  
  1266. gdevpdfi.$(OBJ): gdevpdfi.c $(memory__h) $(gx_h) \
  1267.   $(gdevpdfx_h) $(gserrors_h) $(gsflip_h) $(gxcspace_h) $(gxistate_h) \
  1268.   $(sa85x_h) $(scfx_h) $(srlx_h) $(strimpl_h)
  1269.  
  1270. gdevpdfm.$(OBJ): gdevpdfm.c $(memory__h) $(string__h) $(gx_h) \
  1271.   $(gdevpdfx_h) $(gserrors_h) $(gsutil_h) $(scanchar_h)
  1272.  
  1273. gdevpdfp.$(OBJ): gdevpdfp.c $(gx_h)\
  1274.  $(gdevpdfx_h) $(gserrors_h)
  1275.  
  1276. gdevpdft.$(OBJ): gdevpdft.c $(math__h) $(string__h) $(gx_h)\
  1277.  $(gdevpdfx_h) $(gserrors_h) $(gsutil_h)\
  1278.  $(sstring_h) $(strimpl_h)
  1279.  
  1280. # High-level PCL XL writer
  1281.  
  1282. pxl_=gdevpx.$(OBJ)
  1283. pxlmono.dev: $(pxl_) $(GDEV) vector.dev
  1284.     $(SETDEV) pxlmono $(pxl_)
  1285.     $(ADDMOD) pxlmono -include vector
  1286.  
  1287. pxlcolor.dev: $(pxl_) $(GDEV) vector.dev
  1288.     $(SETDEV) pxlcolor $(pxl_)
  1289.     $(ADDMOD) pxlcolor -include vector
  1290.  
  1291. gdevpx.$(OBJ): gdevpx.c $(math__h) $(memory__h) $(string__h)\
  1292.  $(gx_h) $(gsccolor_h) $(gsdcolor_h) $(gserrors_h)\
  1293.  $(gxcspace_h) $(gxdevice_h) $(gxpath_h)\
  1294.  $(gdevpxat_h) $(gdevpxen_h) $(gdevpxop_h) $(gdevvec_h)\
  1295.  $(srlx_h) $(strimpl_h)
  1296.  
  1297. ###### --------------------- Raster file formats --------------------- ######
  1298.  
  1299. ### --------------------- The "plain bits" devices ---------------------- ###
  1300.  
  1301. bit_=gdevbit.$(OBJ)
  1302.  
  1303. bit.dev: $(bit_) page.dev
  1304.     $(SETPDEV) bit $(bit_)
  1305.  
  1306. bitrgb.dev: $(bit_) page.dev
  1307.     $(SETPDEV) bitrgb $(bit_)
  1308.  
  1309. bitcmyk.dev: $(bit_) page.dev
  1310.     $(SETPDEV) bitcmyk $(bit_)
  1311.  
  1312. gdevbit.$(OBJ): gdevbit.c $(PDEVH) $(gsparam_h) $(gxlum_h)
  1313.  
  1314. ### ------------------------- .BMP file formats ------------------------- ###
  1315.  
  1316. bmp_=gdevbmp.$(OBJ) gdevpccm.$(OBJ)
  1317.  
  1318. gdevbmp.$(OBJ): gdevbmp.c $(PDEVH) $(gdevpccm_h)
  1319.  
  1320. bmpmono.dev: $(bmp_) page.dev
  1321.     $(SETPDEV) bmpmono $(bmp_)
  1322.  
  1323. bmp16.dev: $(bmp_) page.dev
  1324.     $(SETPDEV) bmp16 $(bmp_)
  1325.  
  1326. bmp256.dev: $(bmp_) page.dev
  1327.     $(SETPDEV) bmp256 $(bmp_)
  1328.  
  1329. bmp16m.dev: $(bmp_) page.dev
  1330.     $(SETPDEV) bmp16m $(bmp_)
  1331.  
  1332. ### -------------------------- CGM file format ------------------------- ###
  1333. ### This driver is under development.  Use at your own risk.             ###
  1334. ### The output is very low-level, consisting only of rectangles and      ###
  1335. ### cell arrays.                                                         ###
  1336.  
  1337. cgm_=gdevcgm.$(OBJ) gdevcgml.$(OBJ)
  1338.  
  1339. gdevcgml_h=gdevcgml.h
  1340. gdevcgmx_h=gdevcgmx.h $(gdevcgml_h)
  1341.  
  1342. gdevcgm.$(OBJ): gdevcgm.c $(GDEV) $(memory__h)\
  1343.  $(gsparam_h) $(gdevpccm_h) $(gdevcgml_h)
  1344.  
  1345. gdevcgml.$(OBJ): gdevcgml.c $(memory__h) $(stdio__h)\
  1346.  $(gdevcgmx_h)
  1347.  
  1348. cgmmono.dev: $(cgm_)
  1349.     $(SETDEV) cgmmono $(cgm_)
  1350.  
  1351. cgm8.dev: $(cgm_)
  1352.     $(SETDEV) cgm8 $(cgm_)
  1353.  
  1354. cgm24.dev: $(cgm_)
  1355.     $(SETDEV) cgm24 $(cgm_)
  1356.  
  1357. ### -------------------- The CIF file format for VLSI ------------------ ###
  1358. ### Note: this driver was contributed by a user: please contact          ###
  1359. ###       Frederic Petrot (petrot@masi.ibp.fr) if you have questions.    ###
  1360.  
  1361. cif_=gdevcif.$(OBJ)
  1362. cif.dev: $(cif_) page.dev
  1363.     $(SETPDEV) cif $(cif_)
  1364.  
  1365. gdevcif.$(OBJ): gdevcif.c $(PDEVH)
  1366.  
  1367. ### ------------------------- JPEG file format ------------------------- ###
  1368.  
  1369. jpeg_=gdevjpeg.$(OBJ)
  1370.  
  1371. # RGB output
  1372. jpeg.dev: $(jpeg_) sdcte.dev page.dev
  1373.     $(SETPDEV) jpeg $(jpeg_)
  1374.     $(ADDMOD) jpeg -include sdcte
  1375.  
  1376. # Gray output
  1377. jpeggray.dev: $(jpeg_) sdcte.dev page.dev
  1378.     $(SETPDEV) jpeggray $(jpeg_)
  1379.     $(ADDMOD) jpeggray -include sdcte
  1380.  
  1381. gdevjpeg.$(OBJ): gdevjpeg.c $(stdio__h) $(PDEVH)\
  1382.  $(sdct_h) $(sjpeg_h) $(stream_h) $(strimpl_h) jpeglib.h
  1383.  
  1384. ### ------------------------- MIFF file format ------------------------- ###
  1385. ### Right now we support only 24-bit direct color, but we might add more ###
  1386. ### formats in the future.                                               ###
  1387.  
  1388. miff_=gdevmiff.$(OBJ)
  1389.  
  1390. miff24.dev: $(miff_) page.dev
  1391.     $(SETPDEV) miff24 $(miff_)
  1392.  
  1393. gdevmiff.$(OBJ): gdevmiff.c $(PDEVH)
  1394.  
  1395. ### --------------------------- MGR devices ---------------------------- ###
  1396. ### Note: these drivers were contributed by a user: please contact       ###
  1397. ###       Carsten Emde (carsten@ce.pr.net.ch) if you have questions.     ###
  1398.  
  1399. MGR=gdevmgr.$(OBJ) gdevpccm.$(OBJ)
  1400.  
  1401. gdevmgr.$(OBJ): gdevmgr.c $(PDEVH) $(gdevpccm_h) gdevmgr.h
  1402.  
  1403. mgrmono.dev: $(MGR) page.dev
  1404.     $(SETPDEV) mgrmono $(MGR)
  1405.  
  1406. mgrgray2.dev: $(MGR) page.dev
  1407.     $(SETPDEV) mgrgray2 $(MGR)
  1408.  
  1409. mgrgray4.dev: $(MGR) page.dev
  1410.     $(SETPDEV) mgrgray4 $(MGR)
  1411.  
  1412. mgrgray8.dev: $(MGR) page.dev
  1413.     $(SETPDEV) mgrgray8 $(MGR)
  1414.  
  1415. mgr4.dev: $(MGR) page.dev
  1416.     $(SETPDEV) mgr4 $(MGR)
  1417.  
  1418. mgr8.dev: $(MGR) page.dev
  1419.     $(SETPDEV) mgr8 $(MGR)
  1420.  
  1421. ### ------------------------- PCX file formats ------------------------- ###
  1422.  
  1423. pcx_=gdevpcx.$(OBJ) gdevpccm.$(OBJ)
  1424.  
  1425. gdevpcx.$(OBJ): gdevpcx.c $(PDEVH) $(gdevpccm_h) $(gxlum_h)
  1426.  
  1427. pcxmono.dev: $(pcx_) page.dev
  1428.     $(SETPDEV) pcxmono $(pcx_)
  1429.  
  1430. pcxgray.dev: $(pcx_) page.dev
  1431.     $(SETPDEV) pcxgray $(pcx_)
  1432.  
  1433. pcx16.dev: $(pcx_) page.dev
  1434.     $(SETPDEV) pcx16 $(pcx_)
  1435.  
  1436. pcx256.dev: $(pcx_) page.dev
  1437.     $(SETPDEV) pcx256 $(pcx_)
  1438.  
  1439. pcx24b.dev: $(pcx_) page.dev
  1440.     $(SETPDEV) pcx24b $(pcx_)
  1441.  
  1442. pcxcmyk.dev: $(pcx_) page.dev
  1443.     $(SETPDEV) pcxcmyk $(pcx_)
  1444.  
  1445. # The 2-up PCX device is here only as an example, and for testing.
  1446. pcx2up.dev: $(LIB_MAK) $(ECHOGS_XE) gdevp2up.$(OBJ) page.dev pcx256.dev
  1447.     $(SETPDEV) pcx2up gdevp2up.$(OBJ)
  1448.     $(ADDMOD) pcx2up -include pcx256
  1449.  
  1450. gdevp2up.$(OBJ): gdevp2up.c $(AK)\
  1451.  $(gdevpccm_h) $(gdevprn_h) $(gxclpage_h)
  1452.  
  1453. ### ------------------- Portable Bitmap file formats ------------------- ###
  1454. ### For more information, see the pbm(5), pgm(5), and ppm(5) man pages.  ###
  1455.  
  1456. pxm_=gdevpbm.$(OBJ)
  1457.  
  1458. gdevpbm.$(OBJ): gdevpbm.c $(PDEVH) $(gscdefs_h) $(gxlum_h)
  1459.  
  1460. ### Portable Bitmap (PBM, plain or raw format, magic numbers "P1" or "P4")
  1461.  
  1462. pbm.dev: $(pxm_) page.dev
  1463.     $(SETPDEV) pbm $(pxm_)
  1464.  
  1465. pbmraw.dev: $(pxm_) page.dev
  1466.     $(SETPDEV) pbmraw $(pxm_)
  1467.  
  1468. ### Portable Graymap (PGM, plain or raw format, magic numbers "P2" or "P5")
  1469.  
  1470. pgm.dev: $(pxm_) page.dev
  1471.     $(SETPDEV) pgm $(pxm_)
  1472.  
  1473. pgmraw.dev: $(pxm_) page.dev
  1474.     $(SETPDEV) pgmraw $(pxm_)
  1475.  
  1476. # PGM with automatic optimization to PBM if this is possible.
  1477.  
  1478. pgnm.dev: $(pxm_) page.dev
  1479.     $(SETPDEV) pgnm $(pxm_)
  1480.  
  1481. pgnmraw.dev: $(pxm_) page.dev
  1482.     $(SETPDEV) pgnmraw $(pxm_)
  1483.  
  1484. ### Portable Pixmap (PPM, plain or raw format, magic numbers "P3" or "P6")
  1485.  
  1486. ppm.dev: $(pxm_) page.dev
  1487.     $(SETPDEV) ppm $(pxm_)
  1488.  
  1489. ppmraw.dev: $(pxm_) page.dev
  1490.     $(SETPDEV) ppmraw $(pxm_)
  1491.  
  1492. # PPM with automatic optimization to PGM or PBM if possible.
  1493.  
  1494. pnm.dev: $(pxm_) page.dev
  1495.     $(SETPDEV) pnm $(pxm_)
  1496.  
  1497. pnmraw.dev: $(pxm_) page.dev
  1498.     $(SETPDEV) pnmraw $(pxm_)
  1499.  
  1500. ### Portable inKmap (CMYK internally, converted to PPM=RGB at output time)
  1501.  
  1502. pkm.dev: $(pxm_) page.dev
  1503.     $(SETPDEV) pkm $(pxm_)
  1504.  
  1505. pkmraw.dev: $(pxm_) page.dev
  1506.     $(SETPDEV) pkmraw $(pxm_)
  1507.  
  1508. ### --------------- Portable Network Graphics file format --------------- ###
  1509. ### Requires libpng 0.81 and zlib 0.95 (or more recent versions).         ###
  1510. ### See libpng.mak and zlib.mak for more details.                         ###
  1511.  
  1512. png_=gdevpng.$(OBJ) gdevpccm.$(OBJ)
  1513.  
  1514. gdevpng.$(OBJ): gdevpng.c $(gdevprn_h) $(gdevpccm_h) $(gscdefs_h) $(PSRC)png.h
  1515.     $(CCCP) -I. $(srcdir)/gdevpng.c
  1516.  
  1517. pngmono.dev: libpng.dev $(png_) page.dev
  1518.     $(SETPDEV) pngmono  $(png_)
  1519.     $(ADDMOD) pngmono  -include libpng
  1520.  
  1521. pnggray.dev: libpng.dev $(png_) page.dev
  1522.     $(SETPDEV) pnggray  $(png_)
  1523.     $(ADDMOD) pnggray  -include libpng
  1524.  
  1525. png16.dev: libpng.dev $(png_) page.dev
  1526.     $(SETPDEV) png16  $(png_)
  1527.     $(ADDMOD) png16  -include libpng
  1528.  
  1529. png256.dev: libpng.dev $(png_) page.dev
  1530.     $(SETPDEV) png256  $(png_)
  1531.     $(ADDMOD) png256  -include libpng
  1532.  
  1533. png16m.dev: libpng.dev $(png_) page.dev
  1534.     $(SETPDEV) png16m  $(png_)
  1535.     $(ADDMOD) png16m  -include libpng
  1536.  
  1537. ### ---------------------- PostScript image format ---------------------- ###
  1538. ### These devices make it possible to print Level 2 files on a Level 1    ###
  1539. ###   printer, by converting them to a bitmap in PostScript format.       ###
  1540.  
  1541. ps_=gdevpsim.$(OBJ)
  1542.  
  1543. gdevpsim.$(OBJ): gdevpsim.c $(PDEVH)
  1544.  
  1545. psmono.dev: $(ps_) page.dev
  1546.     $(SETPDEV) psmono $(ps_)
  1547.  
  1548. psgray.dev: $(ps_) page.dev
  1549.     $(SETPDEV) psgray $(ps_)
  1550.  
  1551. # Someday there will be RGB and CMYK variants....
  1552.  
  1553. ### -------------------------- SGI RGB pixmaps -------------------------- ###
  1554.  
  1555. sgirgb_=gdevsgi.$(OBJ)
  1556.  
  1557. gdevsgi.$(OBJ): gdevsgi.c $(PDEVH) gdevsgi.h
  1558.  
  1559. sgirgb.dev: $(sgirgb_) page.dev
  1560.     $(SETPDEV) sgirgb $(sgirgb_)
  1561.  
  1562. ### -------------------- Plain or TIFF fax encoding --------------------- ###
  1563. ###    Use -sDEVICE=tiffg3 or tiffg4 and                  ###
  1564. ###      -r204x98 for low resolution output, or              ###
  1565. ###      -r204x196 for high resolution output                  ###
  1566. ###    These drivers recognize 3 page sizes: letter, A4, and B4.      ###
  1567.  
  1568. gdevtifs_h=gdevtifs.h
  1569.  
  1570. tfax_=gdevtfax.$(OBJ)
  1571. tfax.dev: $(tfax_) cfe.dev lzwe.dev rle.dev tiffs.dev
  1572.     $(SETMOD) tfax $(tfax_)
  1573.     $(ADDMOD) tfax -include cfe lzwe rle tiffs
  1574.  
  1575. gdevtfax.$(OBJ): gdevtfax.c $(PDEVH)\
  1576.  $(gdevtifs_h) $(scfx_h) $(slzwx_h) $(srlx_h) $(strimpl_h)
  1577.  
  1578. ### Plain G3/G4 fax with no header
  1579.  
  1580. faxg3.dev: tfax.dev
  1581.     $(SETDEV) faxg3 -include tfax
  1582.  
  1583. faxg32d.dev: tfax.dev
  1584.     $(SETDEV) faxg32d -include tfax
  1585.  
  1586. faxg4.dev: tfax.dev
  1587.     $(SETDEV) faxg4 -include tfax
  1588.  
  1589. ### ---------------------------- TIFF formats --------------------------- ###
  1590.  
  1591. tiffs_=gdevtifs.$(OBJ)
  1592. tiffs.dev: $(tiffs_) page.dev
  1593.     $(SETMOD) tiffs $(tiffs_)
  1594.     $(ADDMOD) tiffs -include page
  1595.  
  1596. gdevtifs.$(OBJ): gdevtifs.c $(PDEVH) $(stdio__h) $(time__h) \
  1597.  $(gdevtifs_h) $(gscdefs_h) $(gstypes_h)
  1598.  
  1599. # Black & white, G3/G4 fax
  1600.  
  1601. tiffcrle.dev: tfax.dev
  1602.     $(SETDEV) tiffcrle -include tfax
  1603.  
  1604. tiffg3.dev: tfax.dev
  1605.     $(SETDEV) tiffg3 -include tfax
  1606.  
  1607. tiffg32d.dev: tfax.dev
  1608.     $(SETDEV) tiffg32d -include tfax
  1609.  
  1610. tiffg4.dev: tfax.dev
  1611.     $(SETDEV) tiffg4 -include tfax
  1612.  
  1613. # Black & white, LZW compression
  1614.  
  1615. tifflzw.dev: tfax.dev
  1616.     $(SETDEV) tifflzw -include tfax
  1617.  
  1618. # Black & white, PackBits compression
  1619.  
  1620. tiffpack.dev: tfax.dev
  1621.     $(SETDEV) tiffpack -include tfax
  1622.  
  1623. # RGB, no compression
  1624.  
  1625. tiffrgb_=gdevtfnx.$(OBJ)
  1626.  
  1627. tiff12nc.dev: $(tiffrgb_) tiffs.dev
  1628.     $(SETPDEV) tiff12nc $(tiffrgb_)
  1629.     $(ADDMOD) tiff12nc -include tiffs
  1630.  
  1631. tiff24nc.dev: $(tiffrgb_) tiffs.dev
  1632.     $(SETPDEV) tiff24nc $(tiffrgb_)
  1633.     $(ADDMOD) tiff24nc -include tiffs
  1634.  
  1635. gdevtfnx.$(OBJ): gdevtfnx.c $(PDEVH) $(gdevtifs_h)
  1636.